Skip to content

docs: show how to identify lock blockers - #420

Open
Loyal-Young wants to merge 1 commit into
IvorySQL:masterfrom
Loyal-Young:contest/docs-lock-blockers
Open

Loyal-Young wants to merge 1 commit into
IvorySQL:masterfrom
Loyal-Young:contest/docs-lock-blockers

Conversation

@Loyal-Young

Copy link
Copy Markdown

Add a lock-diagnostics query combining pg_stat_activity with pg_blocking_pids. Explain how to read idle transaction blockers and prepared transactions, and include a three-session reproduction.

Verification

Held and released a row lock in separate IvorySQL sessions, confirmed the waiting PID and actual blocker, and checked cleanup. Rendered the Chinese and English pages.

Assisted-by: Codex:GPT-6
Percentage of AI-generated code: 100%

Signed-off-by: 王泽浩 <266632325+Loyal-Young@users.noreply.github.com>
@github-actions
github-actions Bot temporarily deployed to pull request November 16, 2026 15:50 Inactive
@github-actions

Copy link
Copy Markdown

🚀 IvorySQL-Docs Preview Ready

@Loyal-Young

Copy link
Copy Markdown
Author

Could a maintainer review and merge the lock-blocker guide if it looks good? The query was validated with separate waiting, blocking, and monitoring sessions, including an idle-in-transaction blocker. The documentation preview checks are passing.

This branch was previously deployed

1 inactive deployment
pull request — ff887db5 Deployed Nov 16, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant